﻿using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using Harmontronics.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.DataAccess.IOperate.Business
{
    public interface IRecipeOperate
    {
        //查询所有
        public List<Recipe> GetAllRecipeList();
        public Recipe GetRecipeById(string id);
        public List<Recipe> GetRecipeByIdList(List<string> ids);
        public void AddRecipe(Recipe entity);
        public void UpdateRecipe(Recipe model);
        public void DeleteRecipe(Recipe entity);
        public void BatchDelRecipe(List<Recipe> entity);
    }
}
